package  
{
	import flash.events.MouseEvent;
	/**
	 * ...
	 * @author ...
	 */
	public class IteamArea extends Item 
	{
		//0 is left, 1 is right
		private var _direction:Number;
		
		public function IteamArea( name:String, w:Number, h:Number, direction:Number )
		{
			super( null, name );
			
			graphics.beginFill(0, 0);
			graphics.drawRect(0, 0, w, h);
			graphics.endFill();
			
			_direction = direction;
		}
		
		override public function mouseOver(event:MouseEvent):void {
			//if (Main.main.paused) return;
			Main.main.showArrow(_direction);
		}
		
		override public function mouseOut(event:MouseEvent):void {
			Main.main.hideArrow();
		}
		
	}

}